package org.rust.lang;


public class TestFnc extends TestBase
{

   public void testSumSquared()
   {
      String prog =
         "{" +
         "(add12 = block" +
         "{ " +
         "[a]" +
         "(a + 12)" +
         "}" +
         ")" +
         "add12(2)" +
         "}";
         assertEquals(15, execInt(prog));
   }
   
}

